package event
{
	import flash.events.Event;
	
	public class GlobalEvent extends Event
	{
		/**
		 * 开始关卡,这时候data存储的是关卡数 
		 */		
		public static const MISSION_START:String = "MISSION_START";
		/**
		 * 完成关卡 
		 */		
		public static const MISSION_COMPLETE:String = "MISSION_COMPLETE";
		/**
		 * 失败 
		 */		
		public static const MISSION_FAIL:String = "MISSION_FAIL";
		
		public var data:Object;
		
		public function GlobalEvent(type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = data;
			super(type, bubbles, cancelable);
		}
	}
}